package io;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;

public class CopyDemo4 {
    public static void main(String[] args) throws FileNotFoundException {
        FileOutputStream fos = new FileOutputStream("OIP8_cp.jpg");//
        FileInputStream fis =   new FileInputStream("OIP.jpg");
        long start = System.currentTimeMillis();//
        System.out.println("开始复制");
        long end = System.currentTimeMillis();
        System.out.println("耗时完毕"+(end-start)+"ms");
    }
}
